Skip to main content

First

First[expr] gives the first element in expr. 

First[expr,def] gives the first element if it exists, or def otherwise.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.